package com.cqc.paoclient.ui.aritcle.article;

import com.cqc.paoclient.base.BaseRxPresenter;
import com.cqc.paoclient.base.BaseView;
import com.cqc.paoclient.model.ArticleModel;

import java.util.List;

/**
 * Created by ${cqc} on 2017/11/28.
 */

public interface SynthArticalContract {

    interface View extends BaseView {
        void getInitArticalListSucc(List<ArticleModel.ItemsBean> list);

        void getLoadMoreArticalListSucc(List<ArticleModel.ItemsBean> list);

        void onBannersSucce(List<ArticleModel.ItemsBean> list);

        void showFail(String msg);
    }

    abstract class Presenter extends BaseRxPresenter<View> {
        abstract void getInitArticalList(int codeId);

        abstract void LoadMoreArticalList(int codeId);

        abstract void getBanners();
    }
}
